package cn.nextProject.service;

import cn.nextProject.entity.RoleGroupPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleGroupPermissionService {

    /**
     * 查询角色组权限
     * @param roleGroupId
     * @param path
     * @return
     */
    List<RoleGroupPermission> findByRoleGroup(Long roleGroupId,
                                              String path);


    void saveBatch(Long roleGroupId,List<Long> permissionIdList);


    void deleteRoleGroupPermission(Long id);

}
